package com.xiaoluo.a06_enum;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;

public class MainActivity extends AppCompatActivity {
    private static final String TAG = "MainActivity";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        for (ErrorCode value : ErrorCode.values()) {
            Log.e(TAG, "errorStr :" + value.getErrorStr());
        }
        ErrorCode errorCode = ErrorCode.OK;

    }
}
